package com.ruoyi.baidu.service;

import com.ruoyi.system.api.domain.AnimalInformation;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

public interface AnimalRepository extends ElasticsearchRepository<AnimalInformation, String> {
    Page<AnimalInformation> findBySpeciesNameOrBreedName(String speciesName, String breedName, Pageable pageable);
}
